package main.java.file;

import java.io.File;

public class MKDirDemo {
    public static void main(String[] args) {
        File file = new File("test02");
        if(file.exists()){
            System.out.println("文件夹已存在");
        }else{
            file.mkdir();
            System.out.println("创建成功");
        }
    }
}
